# Python 2.6.4
# Project Euler, Problem 13
# Copyright 2010 Talha Zaman

f = open('numbers.txt')
numbers = f.readlines()
num = [int(x.strip()) for x in numbers]
sum=0
for i in num: sum += i
print sum
